package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.RechargeAmountDAO;
import top.zywork.dos.RechargeAmountDO;
import top.zywork.dto.RechargeAmountDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.RechargeAmountService;

import javax.annotation.PostConstruct;

/**
 * RechargeAmountServiceImpl服务接口实现类<br/>
 *
 * 创建于2020-10-31<br/>
 *
 * @author http://ljyanimo.com 刘金泳
 * @version 1.0
 */
@Service(value = "rechargeAmountService")
public class RechargeAmountServiceImpl extends AbstractBaseService implements RechargeAmountService {

    private RechargeAmountDAO rechargeAmountDAO;

    @Autowired
    public void setRechargeAmountDAO(RechargeAmountDAO rechargeAmountDAO) {
        super.setBaseDAO(rechargeAmountDAO);
        this.rechargeAmountDAO = rechargeAmountDAO;
    }

    @PostConstruct
    public void init() {
        super.init(RechargeAmountDO.class, RechargeAmountDTO.class);
    }
}